package com.crm.dao.mapper.trainingManager;

import com.crm.model.entity.trainingManager.TrainingContract;
import com.crm.model.entity.trainingManager.TrainingContractExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TrainingContractMapper {
    long countByExample(TrainingContractExample example);

    int deleteByExample(TrainingContractExample example);

    int deleteByPrimaryKey(String trainingContractId);

    int insert(TrainingContract record);

    int insertSelective(TrainingContract record);

    List<TrainingContract> selectByExampleWithBLOBs(TrainingContractExample example);

    List<TrainingContract> selectByExample(TrainingContractExample example);

    TrainingContract selectByPrimaryKey(String trainingContractId);

    int updateByExampleSelective(@Param("record") TrainingContract record, @Param("example") TrainingContractExample example);

    int updateByExampleWithBLOBs(@Param("record") TrainingContract record, @Param("example") TrainingContractExample example);

    int updateByExample(@Param("record") TrainingContract record, @Param("example") TrainingContractExample example);

    int updateByPrimaryKeySelective(TrainingContract record);

    int updateByPrimaryKeyWithBLOBs(TrainingContract record);

    int updateByPrimaryKey(TrainingContract record);
}